﻿<%@ Page Language="C#" AutoEventWireup="true"  MasterPageFile="~/Template/Master.master" CodeFile="ViewRequest.aspx.cs" Inherits="GUI_ViewRequest" Title="View Request" %>


<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="rightside1">
            <div class="barTitle">
       View request for you
    </div>
         <div class="barContentright">
         <br />
                    <asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
                    AutoGenerateColumns="False" BackColor="#DEBA84" 
                    BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3" 
                    CellSpacing="2" DataKeyNames="InvitationID" onrowcommand="RowCommand" 
                    AutoGenerateDeleteButton="True" onrowdeleting="Deleting" Width="100%">
                    <RowStyle BackColor="#FFF7E7" ForeColor="White" />
                    <Columns>
                        <asp:BoundField DataField="InvitationID" HeaderText="InvitationID" 
                            SortExpression="InvitationID" />
                        <asp:BoundField DataField="UserID" HeaderText="UserID" />
                        <asp:BoundField DataField="username" HeaderText="Username" />
                        <asp:BoundField DataField="I_timestamp" HeaderText="Time" />
                        <asp:BoundField DataField="I_Status" HeaderText="Status" />       
                        <asp:ButtonField CommandName="accept" Text="Accept" />     
                    </Columns>
                    <FooterStyle BackColor="#F7DFB5" ForeColor="#FF" />
                    <PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
                    <EmptyDataTemplate>
                        Username
                    </EmptyDataTemplate>
                    <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" Font-Size="13px"/>
                </asp:GridView>
                
                <br />
                <br />
                <div>
                    <p>- Click Accept to make friends.</p>
                    <br />                   
                    <p>- Click Delete to cancel make friends and removed from the list.</p>
                       
                </div>
                
                
                                                   
         </div>
    <br />
   
  </div>
     
</asp:Content>